package com.open.system.service.impl;

import com.open.system.dao.LoanFaceDao;
import com.open.system.domain.LoanFaceDO;
import com.open.system.service.LoanFaceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class LoanFaceServiceImpl implements LoanFaceService {
	@Autowired
	private LoanFaceDao loanFaceDao;
	
	@Override
	public LoanFaceDO get(Long id){
		return loanFaceDao.get(id);
	}
	
	@Override
    public List<LoanFaceDO> list(Map<String, Object> map){
        return loanFaceDao.list(map);
    }

    @Override
    public List<LoanFaceDO> list1(Map<String, Object> map) {
        return loanFaceDao.list1(map);
    }
	
	@Override
	public int count(Map<String, Object> map){
		return loanFaceDao.count(map);
	}
	
	@Override
	public int save(LoanFaceDO loanFace){
		return loanFaceDao.save(loanFace);
	}
	
	@Override
	public int update(LoanFaceDO loanFace){
		return loanFaceDao.update(loanFace);
	}
	
	@Override
	public int remove(Long id){
		return loanFaceDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return loanFaceDao.batchRemove(ids);
	}

	@Override
	public int updateHasemptyByUserId(Long id){
		return loanFaceDao.updateHasemptyByUserId(id);
	}
}
